﻿namespace EasyXaf.MongoDB;

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class MongoEntityAttribute : Attribute
{
    public string EntityName { get; }

    public MongoEntityAttribute()
    {
    }

    public MongoEntityAttribute(string entityName)
    {
        EntityName = entityName;
    }
}
